package com.clover.framework.net;

/**
 * Created by masl on 2018/11/26.
 */
public class HttpResult {
    //Http请求返回的Cookie
    private String cookie;

    private String html = "";

    public byte[] resultByte;
    //返回说明,默认为 OK
    private String resposeMessage;

    //返回状态码
    private Integer resposeCode;

    //最后访问的URl
    private String responseUri;

    public String getCookie() {
        return cookie;
    }

    public HttpResult setCookie(String cookie) {
        this.cookie = cookie;
        return this;
    }

    public String getHtml() {
        return html;
    }

    public HttpResult setHtml(String html) {
        this.html = html;
        return this;
    }

    public byte[] getResultByte() {
        return resultByte;
    }

    public HttpResult setResultByte(byte[] resultByte) {
        this.resultByte = resultByte;
        return this;
    }

    public String getResposeMessage() {
        return resposeMessage;
    }

    public void setResposeMessage(String resposeMessage) {
        this.resposeMessage = resposeMessage;
    }

    public Integer getResposeCode() {
        return resposeCode;
    }

    public void setResposeCode(Integer resposeCode) {
        this.resposeCode = resposeCode;
    }

    public String getResponseUri() {
        return responseUri;
    }

    public HttpResult setResponseUri(String responseUri) {
        this.responseUri = responseUri;
        return this;
    }
}
